package com.car.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.serve.Param.addCarTypeParam;
import com.car.serve.dto.ServeTypeDto;
import com.car.serve.entity.CarType;
import com.car.serve.exception.ServeException;
import com.car.serve.form.PageCarTypeForm;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface CarTypeService extends IService<CarType> {
    void addCarType(addCarTypeParam param)throws Exception;

    Page<CarType> findCarTypePage(PageCarTypeForm form)throws ServeException;

    List<CarType> getMyCarType();
}
